package com.cgq.pro.dao;

import java.util.List;

import com.cgq.base.dao.BaseDao;
import com.cgq.pro.entity.Attachment;

public interface AttachmentDao extends BaseDao<Attachment> {
	public List<Attachment> findByBusinessIdAndTypeAndId(String businessId,
			String businessType,String refid);
	public boolean deleteAndPhoto(String id,String path);
	public boolean deleteAndAttachment(String[] ids, String path);
}
